package com.allinpokers.vest.allinvest.controller;

import com.allinpokers.vest.allinvest.dao.crazypoker.IosVestPromoteDao;
import com.allinpokers.vest.allinvest.entity.crazypoker.IosVestPromote;
import com.allinpokers.vest.allinvest.entity.crazypoker.example.IosVestPromoteExample;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("/hello")
public class HelloController {

    @Resource
    private IosVestPromoteDao iosVestPromoteDao;

    @RequestMapping("/test")
    public String hello() {
        IosVestPromoteExample example = new IosVestPromoteExample();
        List<IosVestPromote> iosVestPromoteList = iosVestPromoteDao.selectByExample(example);
        return "hello";
    }
}
